package Class03_CommonFunctionInterface;

import java.lang.reflect.Array;
import java.util.Arrays;

public class L04LambdaCompator {
    public static void main(String[] args) {
        String[] strArr = {"11","ddfd","dfdfdf","dfjdosfjdosj","dfd"};
        Arrays.sort(strArr,(o1,o2)->o1.length()-o2.length());
        System.out.println(Arrays.toString(strArr));
    }
}
